/integration/:id/completeness
Reports which required mapping fields of one integration have no value in a given context. Use it to explain a “missing required mapping” warning for an integration, optionally for one organisation, ad stack, publisher or ad unit.
- Permission:
integration.view; the integration must be available to the caller, otherwise 404. required_fieldslists the catalogue’s required fields, leaving out computed ones; owner-only fields are included (the tag needs them) and flaggedowner_onlyingapsfor a non-owner.- A field’s state is
okwhen any level in the chain has a real value, elsewnmwhen a will-not-map marker is in the chain, elsemissing. Onlymissingandwnmappear ingaps. - Scope (
type:id) picks the chain:all(default): the integration default only. It does not check every ad unit; useGET /v1/integration/completenessfor that.organisation:{id}: the organisation and its parents, then the integration default.ad_stack:{id}: the stack, its organisation and parents, the integration default.publisher:{uid}: each of the publisher’s live ad units that run the integration, each through its whole chain, so per-unit values count; a field is missing when any unit misses it.stacknarrows to one stack’s units. If the publisher has no such unit, its own chain (publisher, organisations,stackif given, integration) is checked.config:{id}: that ad unit’s whole chain.
- An entity scope that doesn’t exist, is archived or (restricted callers) is outside the caller’s organisation tree returns 404. Any other scope text is treated as
alland echoed back.
Authorizations
Path Parameters
Query Parameters
Context to check: all (default), organisation:{organisation id}, ad_stack:{ad stack id}, publisher:{publisher uid} or config:{ad unit id}. Type and id are separated by a single colon. Unrecognised values (including a type with no id) behave as all.
^(all|(organisation|ad_stack|publisher|config):[0-9]+)$Optional publisher uid. When given, the integration is looked up among those available to this publisher's organisation (and its parents) instead of the caller's own. The publisher must exist and not be archived; a restricted (non-core) caller may only pass a publisher of their own organisation, otherwise 404 Not Found.
x >= 1